]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Cache ScreencastSupported property
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 6 Nov 2022 12:06:44 +0000 (13:06 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 9 Nov 2022 11:15:04 +0000 (11:15 +0000)
commit144daf200c12f313c2cc7c01daef9e26e396a328
tree5acce09db21e0375798ecc2693ea8c47e060b7ad
parenta2acecb491e53e889dd995d3db386aaa182e04a0
screenshot: Cache ScreencastSupported property

The screencast service shuts down when not in use, so it is almost
certainly not running when handling the screencast shortcut.

Instead of making sure the service is restarted, just cache the
property when initializing the proxy.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2533>
js/ui/screenshot.js